package cn.wolfcode.trip.base.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@ToString
/**
 *@Discription 添加点赞的domain方法

 *@Params

 *@Return

 *@Authod  黄照伟

 *@CreationTime  2019/3/10 9:51

 *@change

 */
public class NiceDetail extends BaseDomain {
    //用户id
    private Long userId;
    //文章id
    private Long contentId;
    //创建点赞记录时间
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

}